#ifndef __OLED_H
#define __OLED_H 
#include "u8g2.h"

#include "bflb_gpio.h"
#include "bflb_mtimer.h"
#include "bflb_i2c.h"
#include "bflb_dma.h"

#define OLED_ADDRESS  0x3c // OLED7位I2C地址

extern u8g2_t u8g2; 

extern struct bflb_i2c_msg_s msgs; 
extern struct bflb_device_s *i2c0;

void I2c0_gpio_init(void);
void I2c0_init(void);
void OLED_Init(void);
#endif

